<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'adminTeacher_teamForm.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<sx:head/>
  </head>
  
   <BODY background="tutu/11.jpg">
     <h3><s:property value="#request.teacher_teamTip"/>操作
  </h3>
    <form action=<s:property value="#request.teacher_teamTip"/>  method="post"  enctype="multipart/form-data">
   			<input type="hidden" name="pageSize" value="${pageSize}" />
   			<input type="hidden" name="request_locale" value="zh_CN" />
   			
   			<input type="hidden" name="tt.imgname" value="${tt.imgname}" />
   			<input type="hidden" name="tt.imgpath" value="${tt.imgpath}" />
   			
   			
   			<s:if test="tt.no==0">
   			<h3>向教师队伍增加教师</h3>
   			编号:<input type="text" name="tt.no" value=${tt.no }><br>
   			</s:if>
   			<s:else>
   			<h3>修改教师队伍中教师信息</h3>
   			编号:${tt.no }<br>
   			<input type="hidden" name="tt.no" value="${tt.no}" />
   			</s:else>
   			
   			姓名:<input type="text" name="tt.name" value=${tt.name }><br>
   			性别:<select name="tt.sex">  
   		   			
  					<option value="男">男</option>
  					<option value="女">女</option>   
  					<option selected="selected" value="不详">不详</option>   
  					
					</select>  <br>
   			
   			<s:if test="tt.no==0">
   			照片:<input type="file" name="up"  ><br>
   			</s:if>
   			<s:else>
   			照片:<img src='<s:property value="tt.imgpath"/>/<s:property value="tt.imgname"/>' style="width: 40px"alt="头像"/><br>
   			修改:<input type="file" name="up"  ><br>
   			</s:else>
   			
   			
   			学历:<input type="text" name="tt.education" value=${tt.education }><br>
   			职称:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   			<input type="text" name="tt.title"  style="width: 320px; " value=${tt.title }><br><br>
   			电话:<input type="text" name="tt.tel" value=${tt.tel }><br>
   			邮件:<input type="text" name="tt.email"  style="width: 320px; " value=${tt.email }><br>
   			学科:<input type="text" name="tt.subject" style="width: 320px; "  value=${tt.subject }><br>
   			
   			专业:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   			<input type="text" name="tt.major"  style="width: 320px; " value=${tt.major }><br><br>
   			专业方向:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   			<input type="text" name="tt.direction" style="width: 320px; " value=${tt.direction }><br>
   			办公室:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   			<input type="text" name="tt.address" value=${tt.address }><br>
   			招生方向:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   			<input type="text" name="tt.enrollment"  style="width: 320px; " value=${tt.enrollment }><br><br>
   			附加信息:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   			<textarea  name="tt.text" style="  height: 100px; width: 320px"  >${tt.text }</textarea><br>	
   			
   	
		
   			
   			
   			
   			<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   			
   			<input type="submit" value="确定" style=" background-color: Silver"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   			
   			<input type="reset" value="重置" style="">
   		
   		</form>
  </body>
</html>
